package edu.sctu.practice.class02.lvchang.test01;

/**
 * Created by Administrator on 2015/10/8.
 */
public class NumberGuess {

    public int v = 100;


    public void guess(int a) {

        if (a < v) {
            System.out.println("Your figure is lesser than v !");
        } else if (a > v) {
            System.out.println("Your figure is greater than v !");
        } else {
            System.out.println("Successful ! Your number is equal to v !");
        }
    }
}
